package ano.it.pojo;



import java.io.Serializable;
import java.util.List;

public class DetailedData implements Serializable {
    String id;
    String plant_number;
    String plant_state;
    String room_wendu;
    String room_shidu;
    String soil_shidu;
    String soil_PH;
    String room_co2;
    String light;
    String air_quality;
    String Fill_light_state;
    String camera_state;
    String watering_state;
    String break_in;
    String room_unusual;
    String name; //大棚名字
    String crop; // 庄稼
    String address; // 地址
    String undertaker; // 负责人
    int devicenum;
    List<Device> devices;

    public DetailedData() {
    }

    public DetailedData(String id, String plant_number, String plant_state, String room_wendu, String room_shidu, String soil_shidu, String soil_PH, String room_co2, String light, String air_quality, String fill_light_state, String camera_state, String watering_state, String break_in, String room_unusual, String crop, String undertaker) {
        this.id = id;
        this.plant_number = plant_number;
        this.plant_state = plant_state;
        this.room_wendu = room_wendu;
        this.room_shidu = room_shidu;
        this.soil_shidu = soil_shidu;
        this.soil_PH = soil_PH;
        this.room_co2 = room_co2;
        this.light = light;
        this.air_quality = air_quality;
        Fill_light_state = fill_light_state;
        this.camera_state = camera_state;
        this.watering_state = watering_state;
        this.break_in = break_in;
        this.room_unusual = room_unusual;
        this.crop = crop;
        this.undertaker = undertaker;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCrop() {
        return crop;
    }

    public void setCrop(String crop) {
        this.crop = crop;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUndertaker() {
        return undertaker;
    }

    public void setUndertaker(String undertaker) {
        this.undertaker = undertaker;
    }

    public int getDevicenum() {
        return devicenum;
    }

    public void setDevicenum(int devicenum) {
        this.devicenum = devicenum;
    }

    public List<Device> getDevices() {
        return devices;
    }

    public void setDevices(List<Device> devices) {
        this.devices = devices;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPlant_number() {
        return plant_number;
    }

    public void setPlant_number(String plant_number) {
        this.plant_number = plant_number;
    }

    public String getPlant_state() {
        return plant_state;
    }

    public void setPlant_state(String plant_state) {
        this.plant_state = plant_state;
    }

    public String getRoom_wendu() {
        return room_wendu;
    }

    public void setRoom_wendu(String room_wendu) {
        this.room_wendu = room_wendu;
    }

    public String getRoom_shidu() {
        return room_shidu;
    }

    public void setRoom_shidu(String room_shidu) {
        this.room_shidu = room_shidu;
    }

    public String getSoil_shidu() {
        return soil_shidu;
    }

    public void setSoil_shidu(String soil_shidu) {
        this.soil_shidu = soil_shidu;
    }

    public String getSoil_PH() {
        return soil_PH;
    }

    public void setSoil_PH(String soil_PH) {
        this.soil_PH = soil_PH;
    }

    public String getRoom_co2() {
        return room_co2;
    }

    public void setRoom_co2(String room_co2) {
        this.room_co2 = room_co2;
    }

    public String getLight() {
        return light;
    }

    public void setLight(String light) {
        this.light = light;
    }

    public String getAir_quality() {
        return air_quality;
    }

    public void setAir_quality(String air_quality) {
        this.air_quality = air_quality;
    }

    public String getFill_light_state() {
        return Fill_light_state;
    }

    public void setFill_light_state(String fill_light_state) {
        Fill_light_state = fill_light_state;
    }

    public String getCamera_state() {
        return camera_state;
    }

    public void setCamera_state(String camera_state) {
        this.camera_state = camera_state;
    }

    public String getWatering_state() {
        return watering_state;
    }

    public void setWatering_state(String watering_state) {
        this.watering_state = watering_state;
    }

    public String getBreak_in() {
        return break_in;
    }

    public void setBreak_in(String break_in) {
        this.break_in = break_in;
    }

    public String getRoom_unusual() {
        return room_unusual;
    }

    public void setRoom_unusual(String room_unusual) {
        this.room_unusual = room_unusual;
    }

    @Override
    public String toString() {
        return "DetailedData{" +
                "id=" + id +
                ", plant_number=" + plant_number +
                ", plant_state='" + plant_state + '\'' +
                ", room_wendu='" + room_wendu + '\'' +
                ", room_shidu='" + room_shidu + '\'' +
                ", soil_shidu='" + soil_shidu + '\'' +
                ", soil_PH='" + soil_PH + '\'' +
                ", room_co2='" + room_co2 + '\'' +
                ", light='" + light + '\'' +
                ", air_quality='" + air_quality + '\'' +
                ", Fill_light_state='" + Fill_light_state + '\'' +
                ", camera_state='" + camera_state + '\'' +
                ", watering_state='" + watering_state + '\'' +
                ", break_in='" + break_in + '\'' +
                ", room_unusual='" + room_unusual + '\'' +
                ", name='" + name + '\'' +
                ", crop='" + crop + '\'' +
                ", address='" + address + '\'' +
                ", undertaker='" + undertaker + '\'' +
                ", devicenum=" + devicenum +
                ", devices=" + devices +
                '}';
    }
}
